import {createRouter,createWebHashHistory} from 'vue-router'
import SignIn from '../view/SignIn.vue'
import ShoppingIndex from "../view/ShoppingIndex.vue";

const routes =[
    {
        path: '/',
        component: ShoppingIndex
    },
    {
        path: '/',
        component: SignIn,
        name: SignIn
    }

]

const router = createRouter({
    history:createWebHashHistory(),
    routes
})
export default router